<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.ftp.FTP类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1ftp_1_1FTP.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1ftp_1_1FTP-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.ftp.FTP类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>FTP 扩展了 SocketClient ，提供了实现 FTP 客户端所需的基本功能。  
 <a href="classcommonsNet_1_1ftp_1_1FTP.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.ftp.FTP 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1ftp_1_1FTP.png" usemap="#commonsNet.ftp.FTP_map" alt=""/>
  <map id="commonsNet.ftp.FTP_map" name="commonsNet.ftp.FTP_map">
<area href="classcommonsNet_1_1SocketClient.html" title="SocketClient类提供客户端对象访问套接字所需的基本操作。打开套接字、关闭套接字、设置超时等。" alt="commonsNet.SocketClient" shape="rect" coords="100,0,291,24"/>
<area href="classcommonsNet_1_1ftp_1_1FTPClient.html" title="FTPClient 封装了从 FTP 服务器存储和获取文件所需的所有功能。这个类处理了与 FTP 服务器交互的所有低级细节，并提供方便的更高级别接口。" alt="commonsNet.ftp.FTPClient" shape="rect" coords="100,112,291,136"/>
<area href="classcommonsNet_1_1ftp_1_1FTPHTTPClient.html" title="通过HTTP代理连接进行隧道传输实现FTP客户端。" alt="commonsNet.ftp.FTPHTTPClient" shape="rect" coords="0,168,191,192"/>
<area href="classcommonsNet_1_1ftp_1_1FTPSClient.html" title="用于处理 FTP over SSL（ FTPS ）连接的类。" alt="commonsNet.ftp.FTPSClient" shape="rect" coords="201,168,392,192"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a668f06a19cb14fcf25e9dd941899474d"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a668f06a19cb14fcf25e9dd941899474d">init</a> ()</td></tr>
<tr class="memdesc:a668f06a19cb14fcf25e9dd941899474d"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个默认的 FTP 对象实例。  <br /></td></tr>
<tr class="separator:a668f06a19cb14fcf25e9dd941899474d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad765b6b5967c9682a01301bf81a76598"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ad765b6b5967c9682a01301bf81a76598">strictMultilineParsing</a> : Bool</td></tr>
<tr class="memdesc:ad765b6b5967c9682a01301bf81a76598"><td class="mdescLeft">&#160;</td><td class="mdescRight">封装了对成员 _strictMultilineParsing 的访问和修改。  <br /></td></tr>
<tr class="separator:ad765b6b5967c9682a01301bf81a76598"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a129813300319c9074abdee398addd6"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a3a129813300319c9074abdee398addd6">strictReplyParsing</a> : Bool</td></tr>
<tr class="memdesc:a3a129813300319c9074abdee398addd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">封装了对成员 _strictReplyParsing的访问和修改。  <br /></td></tr>
<tr class="separator:a3a129813300319c9074abdee398addd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2244df9c069a3350ba9d9ed31a0db332"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a2244df9c069a3350ba9d9ed31a0db332">getReplyCode</a> ()</td></tr>
<tr class="memdesc:a2244df9c069a3350ba9d9ed31a0db332"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 FTP 响应码。  <br /></td></tr>
<tr class="separator:a2244df9c069a3350ba9d9ed31a0db332"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5387321ba633462a8191c8cee3948cbf"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a5387321ba633462a8191c8cee3948cbf">getReplyString</a> ()</td></tr>
<tr class="memdesc:a5387321ba633462a8191c8cee3948cbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 FTP 回复字符串。  <br /></td></tr>
<tr class="separator:a5387321ba633462a8191c8cee3948cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b9ff7b3f903d44768ee03258408cad"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a63b9ff7b3f903d44768ee03258408cad">getReplyString</a> (index: Int64)</td></tr>
<tr class="memdesc:a63b9ff7b3f903d44768ee03258408cad"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回上一次 FTP 服务器响应指定行的文本。每行的行结束标记都被剥离。  <br /></td></tr>
<tr class="separator:a63b9ff7b3f903d44768ee03258408cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7843e7884124a99cd9f8669c85c32277"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a7843e7884124a99cd9f8669c85c32277">getReplyStrings</a> ()</td></tr>
<tr class="memdesc:a7843e7884124a99cd9f8669c85c32277"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 FTP 回复行。  <br /></td></tr>
<tr class="separator:a7843e7884124a99cd9f8669c85c32277"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae267c23f1a04d184ccbb92a46c0e09d5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ae267c23f1a04d184ccbb92a46c0e09d5">getReply</a> (): Int64</td></tr>
<tr class="memdesc:ae267c23f1a04d184ccbb92a46c0e09d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">从FTP服务器获取回复并返回整数回复代码。  <br /></td></tr>
<tr class="separator:ae267c23f1a04d184ccbb92a46c0e09d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cb7042fdf35d2b4704fd73e9dd4e82b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a2cb7042fdf35d2b4704fd73e9dd4e82b">sendCommand</a> (command: String): Int64</td></tr>
<tr class="memdesc:a2cb7042fdf35d2b4704fd73e9dd4e82b"><td class="mdescLeft">&#160;</td><td class="mdescRight">向 FTP 服务器端发送命令(无参数)。  <br /></td></tr>
<tr class="separator:a2cb7042fdf35d2b4704fd73e9dd4e82b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc99e430f299194a9c1982550d3c1b4"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a6dc99e430f299194a9c1982550d3c1b4">sendCommand</a> (command: String, args: ?String): Int64</td></tr>
<tr class="memdesc:a6dc99e430f299194a9c1982550d3c1b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">向 FTP 服务器端发送命令。  <br /></td></tr>
<tr class="separator:a6dc99e430f299194a9c1982550d3c1b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a349a7aa8b50389cca294affee078ca32"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a349a7aa8b50389cca294affee078ca32">abor</a> ()</td></tr>
<tr class="memdesc:a349a7aa8b50389cca294affee078ca32"><td class="mdescLeft">&#160;</td><td class="mdescRight">将 FTP ABOR 命令发送到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a349a7aa8b50389cca294affee078ca32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7a03733bd423b89d82245e796693c9b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ad7a03733bd423b89d82245e796693c9b">acct</a> (account: String)</td></tr>
<tr class="memdesc:ad7a03733bd423b89d82245e796693c9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">将 FTP ACCT 命令发送到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:ad7a03733bd423b89d82245e796693c9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66bc6a11b517bd9d4bb20a2808eccd08"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a66bc6a11b517bd9d4bb20a2808eccd08">allo</a> (bytes: Int64)</td></tr>
<tr class="memdesc:a66bc6a11b517bd9d4bb20a2808eccd08"><td class="mdescLeft">&#160;</td><td class="mdescRight">将 FTP ALLO 命令发送到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a66bc6a11b517bd9d4bb20a2808eccd08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af82e0876a5b42296ebcf813ffc082ef7"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#af82e0876a5b42296ebcf813ffc082ef7">allo</a> (bytes: Int64, recordSize: Int64)</td></tr>
<tr class="memdesc:af82e0876a5b42296ebcf813ffc082ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">将 FTP ALLO 命令发送到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:af82e0876a5b42296ebcf813ffc082ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dcee0045c264405e9d381f92107d9d5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a6dcee0045c264405e9d381f92107d9d5">appe</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a6dcee0045c264405e9d381f92107d9d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">将 FTP APPE 命令发送到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a6dcee0045c264405e9d381f92107d9d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8680baf506eebf6ddc1974f7ffeca0f"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ac8680baf506eebf6ddc1974f7ffeca0f">cdup</a> ()</td></tr>
<tr class="memdesc:ac8680baf506eebf6ddc1974f7ffeca0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP CDUP 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:ac8680baf506eebf6ddc1974f7ffeca0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d2f460473928e1cadd4aa3d299f0664"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a5d2f460473928e1cadd4aa3d299f0664">cwd</a> (directory: String)</td></tr>
<tr class="memdesc:a5d2f460473928e1cadd4aa3d299f0664"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP CWD 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a5d2f460473928e1cadd4aa3d299f0664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d71c1adbf290b7d7f2fb507fb382eff"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a8d71c1adbf290b7d7f2fb507fb382eff">dele</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a8d71c1adbf290b7d7f2fb507fb382eff"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP DELE 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a8d71c1adbf290b7d7f2fb507fb382eff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a671378876c6c0a929c1e46871311f2ba"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a671378876c6c0a929c1e46871311f2ba">eprt</a> (address: IPSocketAddress)</td></tr>
<tr class="memdesc:a671378876c6c0a929c1e46871311f2ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP EPRT 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a671378876c6c0a929c1e46871311f2ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afeb32d147494370be39018ba84a37fd5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#afeb32d147494370be39018ba84a37fd5">epsv</a> ()</td></tr>
<tr class="memdesc:afeb32d147494370be39018ba84a37fd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP EPSV 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:afeb32d147494370be39018ba84a37fd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a475bdd20a8446f7e647875ac607ffacd"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a475bdd20a8446f7e647875ac607ffacd">feat</a> ()</td></tr>
<tr class="memdesc:a475bdd20a8446f7e647875ac607ffacd"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP FEAT 命令到服务器，接收回复并返回回复代码  <br /></td></tr>
<tr class="separator:a475bdd20a8446f7e647875ac607ffacd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8702eaf0948bb790c4513052861c8849"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a8702eaf0948bb790c4513052861c8849">help</a> ()</td></tr>
<tr class="memdesc:a8702eaf0948bb790c4513052861c8849"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP HELP 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a8702eaf0948bb790c4513052861c8849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48465f5917ca12438b3665f7b173916a"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a48465f5917ca12438b3665f7b173916a">help</a> (command: String)</td></tr>
<tr class="memdesc:a48465f5917ca12438b3665f7b173916a"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP FEAT 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a48465f5917ca12438b3665f7b173916a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7344493e1875c02f3be608dfca5338c2"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a7344493e1875c02f3be608dfca5338c2">list</a> ()</td></tr>
<tr class="memdesc:a7344493e1875c02f3be608dfca5338c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP LIST 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a7344493e1875c02f3be608dfca5338c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1b9bf0bef0e69d4c95c2e7860fd37b1"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#aa1b9bf0bef0e69d4c95c2e7860fd37b1">list</a> (pathname: ?String)</td></tr>
<tr class="memdesc:aa1b9bf0bef0e69d4c95c2e7860fd37b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP LIST 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:aa1b9bf0bef0e69d4c95c2e7860fd37b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c0036f0cf4ae868fe6f4310b8689af2"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a0c0036f0cf4ae868fe6f4310b8689af2">mdtm</a> (file: String)</td></tr>
<tr class="memdesc:a0c0036f0cf4ae868fe6f4310b8689af2"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送给定文件的 MDTM 命令。  <br /></td></tr>
<tr class="separator:a0c0036f0cf4ae868fe6f4310b8689af2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a211fcb35c7aa632d577b2e5404b1b3c1"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a211fcb35c7aa632d577b2e5404b1b3c1">mfmt</a> (pathname: ?String, timeval: String)</td></tr>
<tr class="memdesc:a211fcb35c7aa632d577b2e5404b1b3c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP MFMT 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a211fcb35c7aa632d577b2e5404b1b3c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ecb88276659022dd71b8d73e6c4398"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a64ecb88276659022dd71b8d73e6c4398">mkd</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a64ecb88276659022dd71b8d73e6c4398"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP MKD 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a64ecb88276659022dd71b8d73e6c4398"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68aa0d86172302e9fd0d06a7d7f2b43f"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a68aa0d86172302e9fd0d06a7d7f2b43f">mlsd</a> ()</td></tr>
<tr class="memdesc:a68aa0d86172302e9fd0d06a7d7f2b43f"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP MLSD 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a68aa0d86172302e9fd0d06a7d7f2b43f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4095ff558ca3a29be36c843f12051603"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a4095ff558ca3a29be36c843f12051603">mlsd</a> (path: String)</td></tr>
<tr class="memdesc:a4095ff558ca3a29be36c843f12051603"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP MLSD 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a4095ff558ca3a29be36c843f12051603"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ba6ecb654471d6d5f2e8a44709d6978"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a2ba6ecb654471d6d5f2e8a44709d6978">mlst</a> ()</td></tr>
<tr class="memdesc:a2ba6ecb654471d6d5f2e8a44709d6978"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP MLST 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a2ba6ecb654471d6d5f2e8a44709d6978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d29dbb819157a9aed12456e132e5d8e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a5d29dbb819157a9aed12456e132e5d8e">mlst</a> (path: String)</td></tr>
<tr class="memdesc:a5d29dbb819157a9aed12456e132e5d8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP MLST 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a5d29dbb819157a9aed12456e132e5d8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab457658fc5ff15e3d922f074b2eca477"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ab457658fc5ff15e3d922f074b2eca477">mode</a> (mode: Int64)</td></tr>
<tr class="memdesc:ab457658fc5ff15e3d922f074b2eca477"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP MODE 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:ab457658fc5ff15e3d922f074b2eca477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd966b1d71229bf0aca7cc066515b225"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#abd966b1d71229bf0aca7cc066515b225">nlst</a> ()</td></tr>
<tr class="memdesc:abd966b1d71229bf0aca7cc066515b225"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP NLST 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:abd966b1d71229bf0aca7cc066515b225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20e7198bf329301e36f4c5c1f290a22e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a20e7198bf329301e36f4c5c1f290a22e">nlst</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a20e7198bf329301e36f4c5c1f290a22e"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP NLST 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a20e7198bf329301e36f4c5c1f290a22e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7070620b2c2d5c85109f5f1c5761f31"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#aa7070620b2c2d5c85109f5f1c5761f31">noop</a> ()</td></tr>
<tr class="memdesc:aa7070620b2c2d5c85109f5f1c5761f31"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP NOOP 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:aa7070620b2c2d5c85109f5f1c5761f31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f3bfa097ec6f477936aa300639a3afa"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a3f3bfa097ec6f477936aa300639a3afa">pass</a> (password: String)</td></tr>
<tr class="memdesc:a3f3bfa097ec6f477936aa300639a3afa"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP PASS 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a3f3bfa097ec6f477936aa300639a3afa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe9ac7424e77269dd3378178d5b2a1a5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#afe9ac7424e77269dd3378178d5b2a1a5">pasv</a> ()</td></tr>
<tr class="memdesc:afe9ac7424e77269dd3378178d5b2a1a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP PASV 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:afe9ac7424e77269dd3378178d5b2a1a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e407abbda75bea1370fe4336da057b7"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a7e407abbda75bea1370fe4336da057b7">port</a> (address: IPSocketAddress)</td></tr>
<tr class="memdesc:a7e407abbda75bea1370fe4336da057b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP PORT 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a7e407abbda75bea1370fe4336da057b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cbf3b641c3635b8235398c8d16d113e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a1cbf3b641c3635b8235398c8d16d113e">pwd</a> ()</td></tr>
<tr class="memdesc:a1cbf3b641c3635b8235398c8d16d113e"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP PWD 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a1cbf3b641c3635b8235398c8d16d113e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60e1d16b820a88d5b2cf16ee84ae6c00"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a60e1d16b820a88d5b2cf16ee84ae6c00">quit</a> ()</td></tr>
<tr class="memdesc:a60e1d16b820a88d5b2cf16ee84ae6c00"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP QUIT 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a60e1d16b820a88d5b2cf16ee84ae6c00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8130eec126a5f9a810273ba8226994c6"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a8130eec126a5f9a810273ba8226994c6">rein</a> ()</td></tr>
<tr class="memdesc:a8130eec126a5f9a810273ba8226994c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP REIN 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a8130eec126a5f9a810273ba8226994c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4321be6b6af29cbb8ce6508223414ee7"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a4321be6b6af29cbb8ce6508223414ee7">rest</a> (marker: String)</td></tr>
<tr class="memdesc:a4321be6b6af29cbb8ce6508223414ee7"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP REST 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a4321be6b6af29cbb8ce6508223414ee7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add363e6d8c13fbcad0d2d087a6a2423a"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#add363e6d8c13fbcad0d2d087a6a2423a">retr</a> (pathname: ?String)</td></tr>
<tr class="memdesc:add363e6d8c13fbcad0d2d087a6a2423a"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP RETR 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:add363e6d8c13fbcad0d2d087a6a2423a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81075977d54e0e74908e214dbaee7be7"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a81075977d54e0e74908e214dbaee7be7">rmd</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a81075977d54e0e74908e214dbaee7be7"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP RMD 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a81075977d54e0e74908e214dbaee7be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cfcf9917047811df82f47d7e90786aa"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a7cfcf9917047811df82f47d7e90786aa">rnfr</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a7cfcf9917047811df82f47d7e90786aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP RNFR 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a7cfcf9917047811df82f47d7e90786aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb2bcf2760996ee81556b9be8dbd7aa"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a0fb2bcf2760996ee81556b9be8dbd7aa">rnto</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a0fb2bcf2760996ee81556b9be8dbd7aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP RNTO 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a0fb2bcf2760996ee81556b9be8dbd7aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4261d4cf828374e01c69bea32978828"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ad4261d4cf828374e01c69bea32978828">site</a> (parameters: String)</td></tr>
<tr class="memdesc:ad4261d4cf828374e01c69bea32978828"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP SITE 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:ad4261d4cf828374e01c69bea32978828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace436e3f2926c978a5cf6625d16a96f1"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ace436e3f2926c978a5cf6625d16a96f1">size</a> (parameters: String)</td></tr>
<tr class="memdesc:ace436e3f2926c978a5cf6625d16a96f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP SIZE 命令，接收回复，并返回回复代码。  <br /></td></tr>
<tr class="separator:ace436e3f2926c978a5cf6625d16a96f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab78f877aff0e15f54c2dbce0ec893409"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ab78f877aff0e15f54c2dbce0ec893409">smnt</a> (dir: String)</td></tr>
<tr class="memdesc:ab78f877aff0e15f54c2dbce0ec893409"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP SMNT 命令，接收回复，并返回回复代码。  <br /></td></tr>
<tr class="separator:ab78f877aff0e15f54c2dbce0ec893409"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec04f5d09ff646c773372d9e53b07334"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#aec04f5d09ff646c773372d9e53b07334">stat</a> ()</td></tr>
<tr class="memdesc:aec04f5d09ff646c773372d9e53b07334"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP STAT 命令，接收回复，并返回回复代码。  <br /></td></tr>
<tr class="separator:aec04f5d09ff646c773372d9e53b07334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a959e6f0405f1cd280c321027d29ea09d"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a959e6f0405f1cd280c321027d29ea09d">stat</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a959e6f0405f1cd280c321027d29ea09d"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP STAT 命令，接收回复，并返回回复代码。  <br /></td></tr>
<tr class="separator:a959e6f0405f1cd280c321027d29ea09d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54a2a982b68718d134b6a03b9430b328"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a54a2a982b68718d134b6a03b9430b328">stor</a> (pathname: ?String)</td></tr>
<tr class="memdesc:a54a2a982b68718d134b6a03b9430b328"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP STOR 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a54a2a982b68718d134b6a03b9430b328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c4cc3485602a0769fcedbaceb3fa59d"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a6c4cc3485602a0769fcedbaceb3fa59d">stou</a> ()</td></tr>
<tr class="memdesc:a6c4cc3485602a0769fcedbaceb3fa59d"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP STOU 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a6c4cc3485602a0769fcedbaceb3fa59d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaac971581cecaaabb1921fd377cd4f5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#aaaac971581cecaaabb1921fd377cd4f5">stou</a> (pathname: ?String)</td></tr>
<tr class="memdesc:aaaac971581cecaaabb1921fd377cd4f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP STOU 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:aaaac971581cecaaabb1921fd377cd4f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e9a75d6572f17625317762ac806826e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a9e9a75d6572f17625317762ac806826e">stru</a> (structure: Int64)</td></tr>
<tr class="memdesc:a9e9a75d6572f17625317762ac806826e"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP STRU 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a9e9a75d6572f17625317762ac806826e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49597b0e61f17da7b02bbbc43d37390e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a49597b0e61f17da7b02bbbc43d37390e">syst</a> ()</td></tr>
<tr class="memdesc:a49597b0e61f17da7b02bbbc43d37390e"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送 FTP SYST 命令，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a49597b0e61f17da7b02bbbc43d37390e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a4c906246c35c4c175f9a8960898ac6"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a9a4c906246c35c4c175f9a8960898ac6">`type`</a> (fileType: Int64)</td></tr>
<tr class="memdesc:a9a4c906246c35c4c175f9a8960898ac6"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP TYPE 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a9a4c906246c35c4c175f9a8960898ac6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c79c8248360731ba8d41dd35e014dd1"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a0c79c8248360731ba8d41dd35e014dd1">`type`</a> (fileType: Int64, formatOrByteSize: Int64)</td></tr>
<tr class="memdesc:a0c79c8248360731ba8d41dd35e014dd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP TYPE 命令以将文本文件发送到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:a0c79c8248360731ba8d41dd35e014dd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8ce81b93677b297126829c7e9cbc778"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ac8ce81b93677b297126829c7e9cbc778">user</a> (user: String)</td></tr>
<tr class="memdesc:ac8ce81b93677b297126829c7e9cbc778"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 FTP USER 命令到服务器，接收回复并返回回复代码。  <br /></td></tr>
<tr class="separator:ac8ce81b93677b297126829c7e9cbc778"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bb898df45d7b393d6c2814753b05be3">init</a> ()</td></tr>
<tr class="memdesc:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数  <br /></td></tr>
<tr class="separator:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a87551917056355777424650106857aaa">readTimeout</a> : ?Duration</td></tr>
<tr class="separator:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bc17afff65b64aa296c3b55ada867ef">writeTimeout</a> : ?Duration</td></tr>
<tr class="separator:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a6356afd60138e32bd7b05c8be35149d6">remoteAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程地址。委托给<code><a class="el" href="">StreamingSocket#remoteAddress</a></code>  <br /></td></tr>
<tr class="separator:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a48b65614c29c5816bddc0c0b6d9bf2df">remotePort</a> : UInt16</td></tr>
<tr class="memdesc:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程主机的端口号  <br /></td></tr>
<tr class="separator:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a93a0598e2a9e67a8cd12779a30d65142">localAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端套接字绑定到的本地地址。委托给<code><a class="el" href="">StreamingSocket#localAddress</a></code>  <br /></td></tr>
<tr class="separator:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acfc16ab47c94037df62fb2ba9d027f1e">localPort</a> : UInt16</td></tr>
<tr class="memdesc:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端绑定到的本地端口号  <br /></td></tr>
<tr class="separator:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#af9044380b2d1dd34779216a935fa265c">defaultPort</a> : UInt16</td></tr>
<tr class="memdesc:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0c83df8caef820abcb2ab39ebeb3ffa7">connectTimeout</a> : Duration</td></tr>
<tr class="memdesc:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间，将传递给socket对象的connect方法。  <br /></td></tr>
<tr class="separator:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7a488725edabd4193aa85e999f834245">isConnected</a> (): Bool</td></tr>
<tr class="memdesc:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果套接字不是None，则返回true。  <br /></td></tr>
<tr class="separator:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a04e993f4f4374f378f9ddf730e7d1a1a">setSocketFactory</a> (socketFactory: ?<a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a>): Unit</td></tr>
<tr class="separator:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ad4daf93a806b1a99d35e8b2d8394b2ff">setServerSocketFactory</a> (serverSocketFactory: ?<a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a>): Unit</td></tr>
<tr class="separator:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0fbcc57fadf7e3f7b9061232f3bc6303">connect</a> (address: String): Unit</td></tr>
<tr class="memdesc:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a641075d2637ea7141ee2a535d922ef47">connect</a> (address: String, port: UInt16): Unit</td></tr>
<tr class="memdesc:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3a5e20f3c11d7648fe8e13bbbfecc685">connect</a> (address: String, port: UInt16, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ea99f7b6db651e4209ec78e8055ad45">connect</a> (address: SocketAddress): Unit</td></tr>
<tr class="memdesc:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ac0bfe81fc4e64ac8c8cb4b0982ea6ca7">connect</a> (address: SocketAddress, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a9d49495a9b64c3e848a020b509dcfdc0">addProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a644174b37f378552318c6b93e44ae0e3">removeProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a209c171637129b711301908fe5781329">disconnect</a> (): Unit</td></tr>
<tr class="memdesc:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">端口socket连接。应该在完成使用后以及再次连接之前调用此方法。_socket_将设为None  <br /></td></tr>
<tr class="separator:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a174f159c659d115fbb46baace12215d7">verifyRemote</a> (socket: StreamingSocket)</td></tr>
<tr class="memdesc:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">验证给定套接字的远端是否为当前SocketClient连接的同一主机。  <br /></td></tr>
<tr class="separator:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a4fb7975b7a29b389fefe0ff63d968d1f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a4fb7975b7a29b389fefe0ff63d968d1f">static let DEFAULT_PORT</a> : UInt16 = 21</td></tr>
<tr class="memdesc:a4fb7975b7a29b389fefe0ff63d968d1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认的FTP控制端口号  <br /></td></tr>
<tr class="separator:a4fb7975b7a29b389fefe0ff63d968d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac37d861d8094c8511f8f3c879448e0e0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ac37d861d8094c8511f8f3c879448e0e0">static let REPLY_CODE_LEN</a> : Int64 = 3</td></tr>
<tr class="memdesc:ac37d861d8094c8511f8f3c879448e0e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">FTP回复代码长度  <br /></td></tr>
<tr class="separator:ac37d861d8094c8511f8f3c879448e0e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19375fe1a5e414f8152afb866c7f5f18"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a19375fe1a5e414f8152afb866c7f5f18">static let ASCII_FILE_TYPE</a> = 0</td></tr>
<tr class="memdesc:a19375fe1a5e414f8152afb866c7f5f18"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件类型常量：ASCII文件。默认文件类型。  <br /></td></tr>
<tr class="separator:a19375fe1a5e414f8152afb866c7f5f18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60092fe2171b336d2288bfb12b709966"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a60092fe2171b336d2288bfb12b709966">static let EBCDIC_FILE_TYPE</a> = 1</td></tr>
<tr class="memdesc:a60092fe2171b336d2288bfb12b709966"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件类型常量：EBCDIC文件  <br /></td></tr>
<tr class="separator:a60092fe2171b336d2288bfb12b709966"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a222fb0aa94250e368070b37d9c70f94e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a222fb0aa94250e368070b37d9c70f94e">static let BINARY_FILE_TYPE</a> = 2</td></tr>
<tr class="memdesc:a222fb0aa94250e368070b37d9c70f94e"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件类型常量：二进制图像文件  <br /></td></tr>
<tr class="separator:a222fb0aa94250e368070b37d9c70f94e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31fdb93a8a609c54e77a8db5bc708181"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a31fdb93a8a609c54e77a8db5bc708181">static let LOCAL_FILE_TYPE</a> = 3</td></tr>
<tr class="memdesc:a31fdb93a8a609c54e77a8db5bc708181"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件类型常量：本地类型文件  <br /></td></tr>
<tr class="separator:a31fdb93a8a609c54e77a8db5bc708181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acefd3645614c5d7f6a091ef8d53c8feb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#acefd3645614c5d7f6a091ef8d53c8feb">static let NON_PRINT_TEXT_FORMAT</a> = 4</td></tr>
<tr class="memdesc:acefd3645614c5d7f6a091ef8d53c8feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">文本格式常量：非打印文本格式  <br /></td></tr>
<tr class="separator:acefd3645614c5d7f6a091ef8d53c8feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a9c78942b35f69c5fd25654bd19c6d8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a2a9c78942b35f69c5fd25654bd19c6d8">static let TELNET_TEXT_FORMAT</a> = 5</td></tr>
<tr class="memdesc:a2a9c78942b35f69c5fd25654bd19c6d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">文本格式常量：Telnet文本格式  <br /></td></tr>
<tr class="separator:a2a9c78942b35f69c5fd25654bd19c6d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf2c3a63da781595d62a6c775a66ec22"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#acf2c3a63da781595d62a6c775a66ec22">static let CARRIAGE_CONTROL_TEXT_FORMAT</a> = 6</td></tr>
<tr class="memdesc:acf2c3a63da781595d62a6c775a66ec22"><td class="mdescLeft">&#160;</td><td class="mdescRight">文本格式常量：ASA垂直格式控制字符  <br /></td></tr>
<tr class="separator:acf2c3a63da781595d62a6c775a66ec22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e6fae5aad03d537c89b5a056396a139"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a6e6fae5aad03d537c89b5a056396a139">static let FILE_STRUCTURE</a> = 7</td></tr>
<tr class="memdesc:a6e6fae5aad03d537c89b5a056396a139"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件结构常量：字节序列文件  <br /></td></tr>
<tr class="separator:a6e6fae5aad03d537c89b5a056396a139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50efa6392407ebf577217b361ab3fc68"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a50efa6392407ebf577217b361ab3fc68">static let RECORD_STRUCTURE</a> = 8</td></tr>
<tr class="memdesc:a50efa6392407ebf577217b361ab3fc68"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件结构常量：记录序列文件  <br /></td></tr>
<tr class="separator:a50efa6392407ebf577217b361ab3fc68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d1b17206762d1f23392c33220aad968"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a0d1b17206762d1f23392c33220aad968">static let PAGE_STRUCTURE</a> = 9</td></tr>
<tr class="memdesc:a0d1b17206762d1f23392c33220aad968"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件结构常量：独立索引页面集合文件  <br /></td></tr>
<tr class="separator:a0d1b17206762d1f23392c33220aad968"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0aab1aa542a2646f96c4dfde0422f86"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ad0aab1aa542a2646f96c4dfde0422f86">static let STREAM_TRANSFER_MODE</a> = 10</td></tr>
<tr class="memdesc:ad0aab1aa542a2646f96c4dfde0422f86"><td class="mdescLeft">&#160;</td><td class="mdescRight">传输模式常量：字节流传输模式  <br /></td></tr>
<tr class="separator:ad0aab1aa542a2646f96c4dfde0422f86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee986b2eb2d6fa99c67631640c5b07c1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#aee986b2eb2d6fa99c67631640c5b07c1">static let BLOCK_TRANSFER_MODE</a> = 11</td></tr>
<tr class="memdesc:aee986b2eb2d6fa99c67631640c5b07c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">传输模式常量：块传输模式  <br /></td></tr>
<tr class="separator:aee986b2eb2d6fa99c67631640c5b07c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5aff35d28d13b3c96a021f965e65081"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ab5aff35d28d13b3c96a021f965e65081">static let COMPRESSED_TRANSFER_MODE</a> = 12</td></tr>
<tr class="memdesc:ab5aff35d28d13b3c96a021f965e65081"><td class="mdescLeft">&#160;</td><td class="mdescRight">传输模式常量：压缩传输模式  <br /></td></tr>
<tr class="separator:ab5aff35d28d13b3c96a021f965e65081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acf063b8bd9929825dc931fa75918df33">static let NETASCII_EOL</a> : String = &quot;\r\n&quot;</td></tr>
<tr class="memdesc:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">大多数IETF协议使用的换行符，CRLF  <br /></td></tr>
<tr class="separator:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:abbd911559e9987b76824803a783845d9"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#abbd911559e9987b76824803a783845d9">__getReplyNoReport</a> (): Unit</td></tr>
<tr class="memdesc:abbd911559e9987b76824803a783845d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 FTP 服务器响应内容，但是不报告给监听器。  <br /></td></tr>
<tr class="separator:abbd911559e9987b76824803a783845d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36b270858120fa828d19de75e4d99dea"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a36b270858120fa828d19de75e4d99dea">__noop</a> (): Unit</td></tr>
<tr class="memdesc:a36b270858120fa828d19de75e4d99dea"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 noop 指令并获得回复，而无需向命令监听器报告。  <br /></td></tr>
<tr class="separator:a36b270858120fa828d19de75e4d99dea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99225a2b5c4fed7298e671478137c500"><td class="memItemLeft" align="right" valign="top">protected open override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a99225a2b5c4fed7298e671478137c500">_connectAction_</a> (): Unit</td></tr>
<tr class="memdesc:a99225a2b5c4fed7298e671478137c500"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化控制连接并获取初始回复。初始化 <code><a class="el" href="">_controlInput_</a></code> 和 <code><a class="el" href="">_controlOutput_</a></code> 。  <br /></td></tr>
<tr class="separator:a99225a2b5c4fed7298e671478137c500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7315e45e813836c14b82f2cb51b17ded"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a7315e45e813836c14b82f2cb51b17ded">_connectAction_</a> (socketIsReader: ?StringReader&lt;StreamingSocket&gt;): Unit</td></tr>
<tr class="memdesc:a7315e45e813836c14b82f2cb51b17ded"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化控制连接并获取初始回复。初始化 <code><a class="el" href="">_controlInput_</a></code> 和 <code><a class="el" href="">_controlOutput_</a></code> 。  <br /></td></tr>
<tr class="separator:a7315e45e813836c14b82f2cb51b17ded"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#afa2734bc5477eabf0599324d6ede038b">fireCommandSent</a> (command: String, message: String)</td></tr>
<tr class="memdesc:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送命令的详细信息。  <br /></td></tr>
<tr class="separator:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ae9c596dad672de038df93ef77b63746f">fireReplyReceived</a> (replyCode: Int64, reply: String)</td></tr>
<tr class="memdesc:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送回复的详细信息。  <br /></td></tr>
<tr class="separator:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ab5133836949f8b27b41a31473654c881">_connectAction_</a> ()</td></tr>
<tr class="memdesc:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">由于存在较多的connect方法，因此提供_connectAction_方法作为在建立连接后立即执行某些操作的手段，而不是重新实现所有connect方法。  <br /></td></tr>
<tr class="separator:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:aa6ecb4317dbae45a2d54be2faf578e36"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#aa6ecb4317dbae45a2d54be2faf578e36">var _replyCode</a> : Int64</td></tr>
<tr class="memdesc:aa6ecb4317dbae45a2d54be2faf578e36"><td class="mdescLeft">&#160;</td><td class="mdescRight">FTP 响应码  <br /></td></tr>
<tr class="separator:aa6ecb4317dbae45a2d54be2faf578e36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6635f8f31eaed1f89ec37b036108bcf0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a6635f8f31eaed1f89ec37b036108bcf0">var _newReplyString</a> : Bool</td></tr>
<tr class="memdesc:a6635f8f31eaed1f89ec37b036108bcf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果为 true ，表示有新的回复字符串。  <br /></td></tr>
<tr class="separator:a6635f8f31eaed1f89ec37b036108bcf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dcf067bd1a833f44f9709060e90be52"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a0dcf067bd1a833f44f9709060e90be52">var _replyString</a> : String</td></tr>
<tr class="memdesc:a0dcf067bd1a833f44f9709060e90be52"><td class="mdescLeft">&#160;</td><td class="mdescRight">FTP 回复字符串  <br /></td></tr>
<tr class="separator:a0dcf067bd1a833f44f9709060e90be52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c74269ec86624d5b7b084d4849c0303"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a5c74269ec86624d5b7b084d4849c0303">let _replyLines</a> : ArrayList&lt;String&gt;</td></tr>
<tr class="memdesc:a5c74269ec86624d5b7b084d4849c0303"><td class="mdescLeft">&#160;</td><td class="mdescRight">FTP 回复行  <br /></td></tr>
<tr class="separator:a5c74269ec86624d5b7b084d4849c0303"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cc421650837cf3afb4ede5c9585bf36"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a6cc421650837cf3afb4ede5c9585bf36">var _controlInput_</a> : ?StringReader&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:a6cc421650837cf3afb4ede5c9585bf36"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于从 FTP 控制连接中读取文本。  <br /></td></tr>
<tr class="separator:a6cc421650837cf3afb4ede5c9585bf36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9145488e33ca94ea5738fcbf67fe02ce"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a9145488e33ca94ea5738fcbf67fe02ce">var _controlOutput_</a> : ?StringWriter&lt;StreamingSocket&gt;</td></tr>
<tr class="memdesc:a9145488e33ca94ea5738fcbf67fe02ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于将文本写入 FTP 控制连接中。  <br /></td></tr>
<tr class="separator:a9145488e33ca94ea5738fcbf67fe02ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3da898c3d3f8488cf8a498ce1147eaf7">var _socket_</a> : ?StreamingSocket</td></tr>
<tr class="memdesc:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接使用的socket  <br /></td></tr>
<tr class="separator:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7610863136db5773a465f7a4feb10cd5">var _input_</a> : ?InputStream = None</td></tr>
<tr class="memdesc:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输入流  <br /></td></tr>
<tr class="separator:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a60f2dfec175bdbd8f243aea7a7dae5ec">var _output_</a> : ?OutputStream = None</td></tr>
<tr class="memdesc:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输出流  <br /></td></tr>
<tr class="separator:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ae2f2d89af96526257357b68009b196">var _hostname_</a> : ?String</td></tr>
<tr class="memdesc:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的主机名  <br /></td></tr>
<tr class="separator:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0eeb213da3426f5b5fe3b0341f628106">var _remoteSocketAddress_</a> : ?SocketAddress</td></tr>
<tr class="memdesc:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的远程套接字地址。  <br /></td></tr>
<tr class="separator:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a222ed7ff95066135d7427671c17cbb51">var _defaultPort_</a> : UInt16</td></tr>
<tr class="memdesc:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a45e24f8b9f78f96b0e42499f5224c42a">var _socketFactory_</a> : <a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a></td></tr>
<tr class="separator:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#aa278799518e05c3b7aeb28bcebb23375">var _serverSocketFactory_</a> : <a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a></td></tr>
<tr class="separator:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a839d81898a2aacfcf9bfd3b7b6f0ffb8">var _connectTimeout_</a> : Duration = DEFAULT_CONNECT_TIMEOUT</td></tr>
<tr class="memdesc:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间  <br /></td></tr>
<tr class="separator:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a57b01a4fe6374778b227c41a8a45b0e1">let _commandSupport</a> : <a class="el" href="classcommonsNet_1_1ProtocolCommandSupport.html">ProtocolCommandSupport</a></td></tr>
<tr class="memdesc:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">ProtocolCommandSupport对象，用于管理ProtocolCommandListeners的注册和ProtocolCommandEvents的触发。  <br /></td></tr>
<tr class="separator:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:ac1fa5228a4d5552baad8110a3f3f5ede"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ac1fa5228a4d5552baad8110a3f3f5ede">getReply</a> (reportReply: Bool): Int64</td></tr>
<tr class="memdesc:ac1fa5228a4d5552baad8110a3f3f5ede"><td class="mdescLeft">&#160;</td><td class="mdescRight">从FTP服务器获取回复并返回整数回复代码。  <br /></td></tr>
<tr class="separator:ac1fa5228a4d5552baad8110a3f3f5ede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34b7d0a48b285944a5e2b434843f5dcd"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a34b7d0a48b285944a5e2b434843f5dcd">buildMessage</a> (command: String, args: ?String): String</td></tr>
<tr class="memdesc:a34b7d0a48b285944a5e2b434843f5dcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建向 FTP 服务器端发送的消息。  <br /></td></tr>
<tr class="separator:a34b7d0a48b285944a5e2b434843f5dcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80e80d6290cd0e1539d1e254d10c30f5"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a80e80d6290cd0e1539d1e254d10c30f5">send</a> (message: String): Unit</td></tr>
<tr class="memdesc:a80e80d6290cd0e1539d1e254d10c30f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">向 FTP 服务器端发送消息。  <br /></td></tr>
<tr class="separator:a80e80d6290cd0e1539d1e254d10c30f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adebc56e5d3f3a5c40b3e003374aa9573"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#adebc56e5d3f3a5c40b3e003374aa9573">strictCheck</a> (line: String, code: String): Bool</td></tr>
<tr class="memdesc:adebc56e5d3f3a5c40b3e003374aa9573"><td class="mdescLeft">&#160;</td><td class="mdescRight">RFC规范的多行终止检查。  <br /></td></tr>
<tr class="separator:adebc56e5d3f3a5c40b3e003374aa9573"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a422fcb87938269d714f304fa2a6e7e51"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a422fcb87938269d714f304fa2a6e7e51">lenientCheck</a> (line: String): Bool</td></tr>
<tr class="memdesc:a422fcb87938269d714f304fa2a6e7e51"><td class="mdescLeft">&#160;</td><td class="mdescRight">相对宽松地检查 FTP 服务器响应的行是否以数字开头，以判断是否应继续多行响应。  <br /></td></tr>
<tr class="separator:a422fcb87938269d714f304fa2a6e7e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a81ea808631c04c6e39cab06022d4b377"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a81ea808631c04c6e39cab06022d4b377">static let modes</a> = &quot;AEILNTCFRPSBC&quot;</td></tr>
<tr class="memdesc:a81ea808631c04c6e39cab06022d4b377"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件类型的字符表示的集合  <br /></td></tr>
<tr class="separator:a81ea808631c04c6e39cab06022d4b377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eca45e3301381d9913b992cb8c39c71"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#a1eca45e3301381d9913b992cb8c39c71">var _strictMultilineParsing</a> : Bool = false</td></tr>
<tr class="memdesc:a1eca45e3301381d9913b992cb8c39c71"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果为 true ，则以数字代码xxx开头的多行响应块必须由相同的数字代码xxx终止。  <br /></td></tr>
<tr class="separator:a1eca45e3301381d9913b992cb8c39c71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0f7808e7710a0e7c6c6bb3be400e713"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html#ac0f7808e7710a0e7c6c6bb3be400e713">var _strictReplyParsing</a> : Bool = true</td></tr>
<tr class="memdesc:ac0f7808e7710a0e7c6c6bb3be400e713"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果为 true ，则非多行回复必须具有以下格式：3位数字代码&lt;空格&gt;&lt;文本&gt;。如果为 false ，则3位数代码后面不需要跟空格。  <br /></td></tr>
<tr class="separator:ac0f7808e7710a0e7c6c6bb3be400e713"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>FTP 扩展了 SocketClient ，提供了实现 FTP 客户端所需的基本功能。 </p>
<p>从 FTP 派生的<code><a class="el" href="">FTPClient</a></code>类实现了 FTP 客户端所需的所有功能。<br  />
 FTP 类供对了各种 FTP 常量的访问，并使具有特殊需求的程序员更容易与 FTP 协议交互并实现自己的客户端。 FTP 类中包含一组名称对应于 FTP 命令的方法，用于促进这种交互。<br  />
 如果客户端空闲时间超过给定的时间周期（通常为900秒）， FTP 服务器可能会选择提前关闭连接。 当 FTP 类检测到 FTP 服务器过早关闭连接时，它将在接收到 <code><a class="el" href="">FTPReply.SERVICE_NOT_AVAILABLE </a></code> 响应时抛出 <code><a class="el" href="">FTPConnectionClosedException</a></code> 。 当您遇到 <code><a class="el" href="">FTPConnectionClosedException</a></code> 时，您必须使用 <code><a class="el" href="">disconnect()</a></code> 断开连接以正确清理系统资源。断开连接之前，可以使用 <code><a class="el" href="">getReplyCode()</a></code> ， <code><a class="el" href="">getReplyString()</a></code> 和 <code><a class="el" href="">getReplyStrings()</a></code> 检查最后回复代码和文本。<br  />
 另外，可以通过定期向服务器发送 NOOP 命令来避免在客户端空闲时断开服务器连接。</p>
<dl class="section see"><dt>参见</dt><dd>FTPClient </dd>
<dd>
FTPConnectionClosedException </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a668f06a19cb14fcf25e9dd941899474d" name="a668f06a19cb14fcf25e9dd941899474d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a668f06a19cb14fcf25e9dd941899474d">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ftp.FTP.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个默认的 FTP 对象实例。 </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="abbd911559e9987b76824803a783845d9" name="abbd911559e9987b76824803a783845d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbd911559e9987b76824803a783845d9">&#9670;&#160;</a></span>__getReplyNoReport()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func commonsNet.ftp.FTP.__getReplyNoReport </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取 FTP 服务器响应内容，但是不报告给监听器。 </p>

</div>
</div>
<a id="a36b270858120fa828d19de75e4d99dea" name="a36b270858120fa828d19de75e4d99dea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36b270858120fa828d19de75e4d99dea">&#9670;&#160;</a></span>__noop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func commonsNet.ftp.FTP.__noop </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送 noop 指令并获得回复，而无需向命令监听器报告。 </p>

</div>
</div>
<a id="a99225a2b5c4fed7298e671478137c500" name="a99225a2b5c4fed7298e671478137c500"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99225a2b5c4fed7298e671478137c500">&#9670;&#160;</a></span>_connectAction_() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected open override func commonsNet.ftp.FTP._connectAction_ </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>初始化控制连接并获取初始回复。初始化 <code><a class="el" href="">_controlInput_</a></code> 和 <code><a class="el" href="">_controlOutput_</a></code> 。 </p>

</div>
</div>
<a id="a7315e45e813836c14b82f2cb51b17ded" name="a7315e45e813836c14b82f2cb51b17ded"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7315e45e813836c14b82f2cb51b17ded">&#9670;&#160;</a></span>_connectAction_() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected open func commonsNet.ftp.FTP._connectAction_ </td>
          <td>(</td>
          <td class="paramname"><em>socketIsReader</em>:&#160;</td>
          <td class="paramtype">?StringReader&lt;StreamingSocket&gt;</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>初始化控制连接并获取初始回复。初始化 <code><a class="el" href="">_controlInput_</a></code> 和 <code><a class="el" href="">_controlOutput_</a></code> 。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">socketIsReader</td><td>要重用的读取器，可以为 None </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9a4c906246c35c4c175f9a8960898ac6" name="a9a4c906246c35c4c175f9a8960898ac6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a4c906246c35c4c175f9a8960898ac6">&#9670;&#160;</a></span>`type`() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.`type` </td>
          <td>(</td>
          <td class="paramname"><em>fileType</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP TYPE 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileType</td><td>文件类型（ _FILE_TYPE 常量之一）。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0c79c8248360731ba8d41dd35e014dd1" name="a0c79c8248360731ba8d41dd35e014dd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c79c8248360731ba8d41dd35e014dd1">&#9670;&#160;</a></span>`type`() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.`type` </td>
          <td>(</td>
          <td class="paramname"><em>fileType</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>formatOrByteSize</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP TYPE 命令以将文本文件发送到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileType</td><td>文件类型（ _FILE_TYPE 常量之一）。 </td></tr>
    <tr><td class="paramname">formatOrByteSize</td><td>文件格式（ _FORMAT 常量之一）。在文件类型为 LOCAL_FILE_TYPE 的情况下，表示为字节大小。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a349a7aa8b50389cca294affee078ca32" name="a349a7aa8b50389cca294affee078ca32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a349a7aa8b50389cca294affee078ca32">&#9670;&#160;</a></span>abor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.abor </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将 FTP ABOR 命令发送到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>FTP 服务器端回复的整数回复代码</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad7a03733bd423b89d82245e796693c9b" name="ad7a03733bd423b89d82245e796693c9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7a03733bd423b89d82245e796693c9b">&#9670;&#160;</a></span>acct()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.acct </td>
          <td>(</td>
          <td class="paramname"><em>account</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将 FTP ACCT 命令发送到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">account</td><td>账户名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>FTP 服务器端回复的整数回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a66bc6a11b517bd9d4bb20a2808eccd08" name="a66bc6a11b517bd9d4bb20a2808eccd08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66bc6a11b517bd9d4bb20a2808eccd08">&#9670;&#160;</a></span>allo() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.allo </td>
          <td>(</td>
          <td class="paramname"><em>bytes</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将 FTP ALLO 命令发送到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bytes</td><td>分配的字节数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>FTP 服务器端回复的整数回复代码</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af82e0876a5b42296ebcf813ffc082ef7" name="af82e0876a5b42296ebcf813ffc082ef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af82e0876a5b42296ebcf813ffc082ef7">&#9670;&#160;</a></span>allo() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.allo </td>
          <td>(</td>
          <td class="paramname"><em>bytes</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>recordSize</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将 FTP ALLO 命令发送到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bytes</td><td>分配的字节数 </td></tr>
    <tr><td class="paramname">recordSize</td><td>每条记录的字节数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>FTP 服务器端回复的整数回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6dcee0045c264405e9d381f92107d9d5" name="a6dcee0045c264405e9d381f92107d9d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dcee0045c264405e9d381f92107d9d5">&#9670;&#160;</a></span>appe()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.appe </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将 FTP APPE 命令发送到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>在远程端存储文件的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>FTP 服务器端回复的整数回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a34b7d0a48b285944a5e2b434843f5dcd" name="a34b7d0a48b285944a5e2b434843f5dcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34b7d0a48b285944a5e2b434843f5dcd">&#9670;&#160;</a></span>buildMessage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ftp.FTP.buildMessage </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>args</em>:&#160;</td>
          <td class="paramtype">?String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: String </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建向 FTP 服务器端发送的消息。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>向 FTP 服务器端发送的命令 </td></tr>
    <tr><td class="paramname">args</td><td>命令相关参数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>构建好的消息字符串 </dd></dl>

</div>
</div>
<a id="ac8680baf506eebf6ddc1974f7ffeca0f" name="ac8680baf506eebf6ddc1974f7ffeca0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8680baf506eebf6ddc1974f7ffeca0f">&#9670;&#160;</a></span>cdup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.cdup </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP CDUP 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5d2f460473928e1cadd4aa3d299f0664" name="a5d2f460473928e1cadd4aa3d299f0664"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d2f460473928e1cadd4aa3d299f0664">&#9670;&#160;</a></span>cwd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.cwd </td>
          <td>(</td>
          <td class="paramname"><em>directory</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP CWD 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">directory</td><td>新的工作目录 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8d71c1adbf290b7d7f2fb507fb382eff" name="a8d71c1adbf290b7d7f2fb507fb382eff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d71c1adbf290b7d7f2fb507fb382eff">&#9670;&#160;</a></span>dele()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.dele </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP DELE 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要删除的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a671378876c6c0a929c1e46871311f2ba" name="a671378876c6c0a929c1e46871311f2ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a671378876c6c0a929c1e46871311f2ba">&#9670;&#160;</a></span>eprt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.eprt </td>
          <td>(</td>
          <td class="paramname"><em>address</em>:&#160;</td>
          <td class="paramtype">IPSocketAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP EPRT 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">IPSocketAddress</td><td>使用的套接字地址</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afeb32d147494370be39018ba84a37fd5" name="afeb32d147494370be39018ba84a37fd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeb32d147494370be39018ba84a37fd5">&#9670;&#160;</a></span>epsv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.epsv </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP EPSV 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a475bdd20a8446f7e647875ac607ffacd" name="a475bdd20a8446f7e647875ac607ffacd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a475bdd20a8446f7e647875ac607ffacd">&#9670;&#160;</a></span>feat()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.feat </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP FEAT 命令到服务器，接收回复并返回回复代码 </p>
<dl class="section return"><dt>返回</dt><dd>服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae267c23f1a04d184ccbb92a46c0e09d5" name="ae267c23f1a04d184ccbb92a46c0e09d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae267c23f1a04d184ccbb92a46c0e09d5">&#9670;&#160;</a></span>getReply() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.getReply </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从FTP服务器获取回复并返回整数回复代码。 </p>
<p>在调用此方法后，可以调用 <code><a class="el" href="">getReplyString()</a></code> 或 <code><a class="el" href="">getReplyStrings()</a></code> 中访问实际的回复文本。</p>
<dl class="section return"><dt>返回</dt><dd>获取的 FTP 回复的回复代码的整数值。</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac1fa5228a4d5552baad8110a3f3f5ede" name="ac1fa5228a4d5552baad8110a3f3f5ede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1fa5228a4d5552baad8110a3f3f5ede">&#9670;&#160;</a></span>getReply() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ftp.FTP.getReply </td>
          <td>(</td>
          <td class="paramname"><em>reportReply</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>从FTP服务器获取回复并返回整数回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reportReply</td><td>是否向监听器报告回复内容</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>获取的FTP回复的回复代码的整数值</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2244df9c069a3350ba9d9ed31a0db332" name="a2244df9c069a3350ba9d9ed31a0db332"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2244df9c069a3350ba9d9ed31a0db332">&#9670;&#160;</a></span>getReplyCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.getReplyCode </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 FTP 响应码。 </p>
<dl class="section return"><dt>返回</dt><dd>FTP响应码 </dd></dl>

</div>
</div>
<a id="a5387321ba633462a8191c8cee3948cbf" name="a5387321ba633462a8191c8cee3948cbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5387321ba633462a8191c8cee3948cbf">&#9670;&#160;</a></span>getReplyString() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.getReplyString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 FTP 回复字符串。 </p>
<dl class="section return"><dt>返回</dt><dd>FTP回复字符串 </dd></dl>

</div>
</div>
<a id="a63b9ff7b3f903d44768ee03258408cad" name="a63b9ff7b3f903d44768ee03258408cad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63b9ff7b3f903d44768ee03258408cad">&#9670;&#160;</a></span>getReplyString() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.getReplyString </td>
          <td>(</td>
          <td class="paramname"><em>index</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回上一次 FTP 服务器响应指定行的文本。每行的行结束标记都被剥离。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>要返回的行的索引，从0开始</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>上一次FTP响应的某一行的文本字符串 </dd></dl>

</div>
</div>
<a id="a7843e7884124a99cd9f8669c85c32277" name="a7843e7884124a99cd9f8669c85c32277"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7843e7884124a99cd9f8669c85c32277">&#9670;&#160;</a></span>getReplyStrings()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.getReplyStrings </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 FTP 回复行。 </p>
<dl class="section return"><dt>返回</dt><dd>FTP 回复行对应的数组 </dd></dl>

</div>
</div>
<a id="a8702eaf0948bb790c4513052861c8849" name="a8702eaf0948bb790c4513052861c8849"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8702eaf0948bb790c4513052861c8849">&#9670;&#160;</a></span>help() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.help </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP HELP 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a48465f5917ca12438b3665f7b173916a" name="a48465f5917ca12438b3665f7b173916a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48465f5917ca12438b3665f7b173916a">&#9670;&#160;</a></span>help() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.help </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP FEAT 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>请求帮助的命令名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a422fcb87938269d714f304fa2a6e7e51" name="a422fcb87938269d714f304fa2a6e7e51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a422fcb87938269d714f304fa2a6e7e51">&#9670;&#160;</a></span>lenientCheck()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ftp.FTP.lenientCheck </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>相对宽松地检查 FTP 服务器响应的行是否以数字开头，以判断是否应继续多行响应。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>FTP响应的某行内容 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果该行满足宽松条件，则返回true；否则返回false。</dd></dl>
<dl class="section see"><dt>参见</dt><dd>#strictCheck() </dd></dl>

</div>
</div>
<a id="a7344493e1875c02f3be608dfca5338c2" name="a7344493e1875c02f3be608dfca5338c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7344493e1875c02f3be608dfca5338c2">&#9670;&#160;</a></span>list() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.list </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP LIST 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa1b9bf0bef0e69d4c95c2e7860fd37b1" name="aa1b9bf0bef0e69d4c95c2e7860fd37b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1b9bf0bef0e69d4c95c2e7860fd37b1">&#9670;&#160;</a></span>list() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.list </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP LIST 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要列出的路径名，可以为 None，在这种情况下，命令将不带参数发送。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0c0036f0cf4ae868fe6f4310b8689af2" name="a0c0036f0cf4ae868fe6f4310b8689af2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c0036f0cf4ae868fe6f4310b8689af2">&#9670;&#160;</a></span>mdtm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mdtm </td>
          <td>(</td>
          <td class="paramname"><em>file</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送给定文件的 MDTM 命令。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>文件名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器返回的状态码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a211fcb35c7aa632d577b2e5404b1b3c1" name="a211fcb35c7aa632d577b2e5404b1b3c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a211fcb35c7aa632d577b2e5404b1b3c1">&#9670;&#160;</a></span>mfmt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mfmt </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>timeval</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP MFMT 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要更改 <code><a class="el" href="">mtime</a></code> 的路径名 </td></tr>
    <tr><td class="paramname">timeval</td><td>格式为 yyyyMMDDhhmmss 的时间戳 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a64ecb88276659022dd71b8d73e6c4398" name="a64ecb88276659022dd71b8d73e6c4398"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64ecb88276659022dd71b8d73e6c4398">&#9670;&#160;</a></span>mkd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mkd </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP MKD 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要创建的新目录的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a68aa0d86172302e9fd0d06a7d7f2b43f" name="a68aa0d86172302e9fd0d06a7d7f2b43f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68aa0d86172302e9fd0d06a7d7f2b43f">&#9670;&#160;</a></span>mlsd() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mlsd </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP MLSD 命令，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4095ff558ca3a29be36c843f12051603" name="a4095ff558ca3a29be36c843f12051603"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4095ff558ca3a29be36c843f12051603">&#9670;&#160;</a></span>mlsd() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mlsd </td>
          <td>(</td>
          <td class="paramname"><em>path</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP MLSD 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>执行命令的具体路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2ba6ecb654471d6d5f2e8a44709d6978" name="a2ba6ecb654471d6d5f2e8a44709d6978"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ba6ecb654471d6d5f2e8a44709d6978">&#9670;&#160;</a></span>mlst() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mlst </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP MLST 命令，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5d29dbb819157a9aed12456e132e5d8e" name="a5d29dbb819157a9aed12456e132e5d8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d29dbb819157a9aed12456e132e5d8e">&#9670;&#160;</a></span>mlst() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mlst </td>
          <td>(</td>
          <td class="paramname"><em>path</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP MLST 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>执行命令的具体路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab457658fc5ff15e3d922f074b2eca477" name="ab457658fc5ff15e3d922f074b2eca477"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab457658fc5ff15e3d922f074b2eca477">&#9670;&#160;</a></span>mode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.mode </td>
          <td>(</td>
          <td class="paramname"><em>mode</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP MODE 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>要使用的传输模式（TRANSFER_MODE常量之一） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abd966b1d71229bf0aca7cc066515b225" name="abd966b1d71229bf0aca7cc066515b225"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd966b1d71229bf0aca7cc066515b225">&#9670;&#160;</a></span>nlst() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.nlst </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP NLST 命令，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a20e7198bf329301e36f4c5c1f290a22e" name="a20e7198bf329301e36f4c5c1f290a22e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20e7198bf329301e36f4c5c1f290a22e">&#9670;&#160;</a></span>nlst() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.nlst </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP NLST 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要列出的路径名，可以为 None ，在这种情况下，命令将不带参数发送。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa7070620b2c2d5c85109f5f1c5761f31" name="aa7070620b2c2d5c85109f5f1c5761f31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7070620b2c2d5c85109f5f1c5761f31">&#9670;&#160;</a></span>noop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.noop </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP NOOP 命令，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3f3bfa097ec6f477936aa300639a3afa" name="a3f3bfa097ec6f477936aa300639a3afa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f3bfa097ec6f477936aa300639a3afa">&#9670;&#160;</a></span>pass()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.pass </td>
          <td>(</td>
          <td class="paramname"><em>password</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP PASS 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">password</td><td>被登录用户的明文密码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afe9ac7424e77269dd3378178d5b2a1a5" name="afe9ac7424e77269dd3378178d5b2a1a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe9ac7424e77269dd3378178d5b2a1a5">&#9670;&#160;</a></span>pasv()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.pasv </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP PASV 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7e407abbda75bea1370fe4336da057b7" name="a7e407abbda75bea1370fe4336da057b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e407abbda75bea1370fe4336da057b7">&#9670;&#160;</a></span>port()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.port </td>
          <td>(</td>
          <td class="paramname"><em>address</em>:&#160;</td>
          <td class="paramtype">IPSocketAddress</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP PORT 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">address</td><td>使用的套接字地址 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1cbf3b641c3635b8235398c8d16d113e" name="a1cbf3b641c3635b8235398c8d16d113e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cbf3b641c3635b8235398c8d16d113e">&#9670;&#160;</a></span>pwd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.pwd </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP PWD 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a60e1d16b820a88d5b2cf16ee84ae6c00" name="a60e1d16b820a88d5b2cf16ee84ae6c00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60e1d16b820a88d5b2cf16ee84ae6c00">&#9670;&#160;</a></span>quit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.quit </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP QUIT 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8130eec126a5f9a810273ba8226994c6" name="a8130eec126a5f9a810273ba8226994c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8130eec126a5f9a810273ba8226994c6">&#9670;&#160;</a></span>rein()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.rein </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP REIN 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4321be6b6af29cbb8ce6508223414ee7" name="a4321be6b6af29cbb8ce6508223414ee7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4321be6b6af29cbb8ce6508223414ee7">&#9670;&#160;</a></span>rest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.rest </td>
          <td>(</td>
          <td class="paramname"><em>marker</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP REST 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">marker</td><td>重新开始传输的标记 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="add363e6d8c13fbcad0d2d087a6a2423a" name="add363e6d8c13fbcad0d2d087a6a2423a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add363e6d8c13fbcad0d2d087a6a2423a">&#9670;&#160;</a></span>retr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.retr </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP RETR 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要检索的文件的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a81075977d54e0e74908e214dbaee7be7" name="a81075977d54e0e74908e214dbaee7be7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81075977d54e0e74908e214dbaee7be7">&#9670;&#160;</a></span>rmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.rmd </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP RMD 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要删除的目录的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确S </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7cfcf9917047811df82f47d7e90786aa" name="a7cfcf9917047811df82f47d7e90786aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cfcf9917047811df82f47d7e90786aa">&#9670;&#160;</a></span>rnfr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.rnfr </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP RNFR 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要重命名的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0fb2bcf2760996ee81556b9be8dbd7aa" name="a0fb2bcf2760996ee81556b9be8dbd7aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fb2bcf2760996ee81556b9be8dbd7aa">&#9670;&#160;</a></span>rnto()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.rnto </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP RNTO 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要重命名为的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a80e80d6290cd0e1539d1e254d10c30f5" name="a80e80d6290cd0e1539d1e254d10c30f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80e80d6290cd0e1539d1e254d10c30f5">&#9670;&#160;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ftp.FTP.send </td>
          <td>(</td>
          <td class="paramname"><em>message</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>向 FTP 服务器端发送消息。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>需要发送的消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">NoneValueException</td><td><code><a class="el" href="">_controlOutput_</a></code> 未初始化，为None </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2cb7042fdf35d2b4704fd73e9dd4e82b" name="a2cb7042fdf35d2b4704fd73e9dd4e82b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cb7042fdf35d2b4704fd73e9dd4e82b">&#9670;&#160;</a></span>sendCommand() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向 FTP 服务器端发送命令(无参数)。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>向 FTP 服务器端发送的命令</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>FTP服务器端回复的整数回复代码</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6dc99e430f299194a9c1982550d3c1b4" name="a6dc99e430f299194a9c1982550d3c1b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dc99e430f299194a9c1982550d3c1b4">&#9670;&#160;</a></span>sendCommand() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>args</em>:&#160;</td>
          <td class="paramtype">?String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向 FTP 服务器端发送命令。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>向 FTP 服务器端发送的命令 </td></tr>
    <tr><td class="paramname">args</td><td>命令相关参数，可以为 None</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>FTP服务器端回复的整数回复代码</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad4261d4cf828374e01c69bea32978828" name="ad4261d4cf828374e01c69bea32978828"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4261d4cf828374e01c69bea32978828">&#9670;&#160;</a></span>site()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.site </td>
          <td>(</td>
          <td class="paramname"><em>parameters</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP SITE 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameters</td><td>要发送的站点参数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ace436e3f2926c978a5cf6625d16a96f1" name="ace436e3f2926c978a5cf6625d16a96f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace436e3f2926c978a5cf6625d16a96f1">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.size </td>
          <td>(</td>
          <td class="paramname"><em>parameters</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP SIZE 命令，接收回复，并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameters</td><td>要发送的站点参数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab78f877aff0e15f54c2dbce0ec893409" name="ab78f877aff0e15f54c2dbce0ec893409"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab78f877aff0e15f54c2dbce0ec893409">&#9670;&#160;</a></span>smnt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.smnt </td>
          <td>(</td>
          <td class="paramname"><em>dir</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP SMNT 命令，接收回复，并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameters</td><td>目录名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aec04f5d09ff646c773372d9e53b07334" name="aec04f5d09ff646c773372d9e53b07334"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec04f5d09ff646c773372d9e53b07334">&#9670;&#160;</a></span>stat() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.stat </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP STAT 命令，接收回复，并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a959e6f0405f1cd280c321027d29ea09d" name="a959e6f0405f1cd280c321027d29ea09d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a959e6f0405f1cd280c321027d29ea09d">&#9670;&#160;</a></span>stat() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.stat </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP STAT 命令，接收回复，并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>要列出的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a54a2a982b68718d134b6a03b9430b328" name="a54a2a982b68718d134b6a03b9430b328"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54a2a982b68718d134b6a03b9430b328">&#9670;&#160;</a></span>stor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.stor </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP STOR 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>在远程端存储文件时使用的路径名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6c4cc3485602a0769fcedbaceb3fa59d" name="a6c4cc3485602a0769fcedbaceb3fa59d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c4cc3485602a0769fcedbaceb3fa59d">&#9670;&#160;</a></span>stou() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.stou </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP STOU 命令，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aaaac971581cecaaabb1921fd377cd4f5" name="aaaac971581cecaaabb1921fd377cd4f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaaac971581cecaaabb1921fd377cd4f5">&#9670;&#160;</a></span>stou() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.stou </td>
          <td>(</td>
          <td class="paramname"><em>pathname</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP STOU 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pathname</td><td>服务器上存储文件的基本路径，可以为 None ，有些FTP服务器需要这个。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adebc56e5d3f3a5c40b3e003374aa9573" name="adebc56e5d3f3a5c40b3e003374aa9573"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adebc56e5d3f3a5c40b3e003374aa9573">&#9670;&#160;</a></span>strictCheck()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ftp.FTP.strictCheck </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>code</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>RFC规范的多行终止检查。 </p>
<p>根据RFC规范，如果 FTP 服务器响应的行不以响应码开头，后面跟着一个空格字符，则继续多行响应。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>要检查的来自 FTP 服务器的文本行 </td></tr>
    <tr><td class="paramname">code</td><td>要比较的 FTP 服务器响应码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果该行指示多行响应应继续，则返回 true ；否则返回 false 。 </dd></dl>

</div>
</div>
<a id="ad765b6b5967c9682a01301bf81a76598" name="ad765b6b5967c9682a01301bf81a76598"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad765b6b5967c9682a01301bf81a76598">&#9670;&#160;</a></span>strictMultilineParsing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public mut prop commonsNet.ftp.FTP.strictMultilineParsing</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>封装了对成员 _strictMultilineParsing 的访问和修改。 </p>
<dl class="section see"><dt>参见</dt><dd>_strictMultilineParsing </dd></dl>

</div>
</div>
<a id="a3a129813300319c9074abdee398addd6" name="a3a129813300319c9074abdee398addd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a129813300319c9074abdee398addd6">&#9670;&#160;</a></span>strictReplyParsing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public mut prop commonsNet.ftp.FTP.strictReplyParsing</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>封装了对成员 _strictReplyParsing的访问和修改。 </p>
<dl class="section see"><dt>参见</dt><dd>_strictReplyParsing </dd></dl>

</div>
</div>
<a id="a9e9a75d6572f17625317762ac806826e" name="a9e9a75d6572f17625317762ac806826e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e9a75d6572f17625317762ac806826e">&#9670;&#160;</a></span>stru()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.stru </td>
          <td>(</td>
          <td class="paramname"><em>structure</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP STRU 命令，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">structure</td><td>文件的结构（_STRUCTURE常量之一） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a49597b0e61f17da7b02bbbc43d37390e" name="a49597b0e61f17da7b02bbbc43d37390e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49597b0e61f17da7b02bbbc43d37390e">&#9670;&#160;</a></span>syst()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.syst </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送 FTP SYST 命令，接收回复并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac8ce81b93677b297126829c7e9cbc778" name="ac8ce81b93677b297126829c7e9cbc778"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8ce81b93677b297126829c7e9cbc778">&#9670;&#160;</a></span>user()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTP.user </td>
          <td>(</td>
          <td class="paramname"><em>user</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送 FTP USER 命令到服务器，接收回复并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">user</td><td>要登录的用户 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从服务器接收到的回复代码 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FTPConnectionClosedException</td><td>如果 FTP 服务器由于客户端空闲或其他原因导致发送 FTP 回复代码421而过早关闭连接 </td></tr>
    <tr><td class="paramname">MalformedServerReplyException</td><td>解析响应码时发生错误或回复文本格式不正确 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a5c74269ec86624d5b7b084d4849c0303" name="a5c74269ec86624d5b7b084d4849c0303"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c74269ec86624d5b7b084d4849c0303">&#9670;&#160;</a></span>let _replyLines</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.let _replyLines : ArrayList&lt;String&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>FTP 回复行 </p>

</div>
</div>
<a id="a19375fe1a5e414f8152afb866c7f5f18" name="a19375fe1a5e414f8152afb866c7f5f18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19375fe1a5e414f8152afb866c7f5f18">&#9670;&#160;</a></span>static let ASCII_FILE_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let ASCII_FILE_TYPE = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文件类型常量：ASCII文件。默认文件类型。 </p>

</div>
</div>
<a id="a222fb0aa94250e368070b37d9c70f94e" name="a222fb0aa94250e368070b37d9c70f94e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a222fb0aa94250e368070b37d9c70f94e">&#9670;&#160;</a></span>static let BINARY_FILE_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let BINARY_FILE_TYPE = 2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文件类型常量：二进制图像文件 </p>

</div>
</div>
<a id="aee986b2eb2d6fa99c67631640c5b07c1" name="aee986b2eb2d6fa99c67631640c5b07c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee986b2eb2d6fa99c67631640c5b07c1">&#9670;&#160;</a></span>static let BLOCK_TRANSFER_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let BLOCK_TRANSFER_MODE = 11</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>传输模式常量：块传输模式 </p>

</div>
</div>
<a id="acf2c3a63da781595d62a6c775a66ec22" name="acf2c3a63da781595d62a6c775a66ec22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf2c3a63da781595d62a6c775a66ec22">&#9670;&#160;</a></span>static let CARRIAGE_CONTROL_TEXT_FORMAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let CARRIAGE_CONTROL_TEXT_FORMAT = 6</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文本格式常量：ASA垂直格式控制字符 </p>

</div>
</div>
<a id="ab5aff35d28d13b3c96a021f965e65081" name="ab5aff35d28d13b3c96a021f965e65081"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5aff35d28d13b3c96a021f965e65081">&#9670;&#160;</a></span>static let COMPRESSED_TRANSFER_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let COMPRESSED_TRANSFER_MODE = 12</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>传输模式常量：压缩传输模式 </p>

</div>
</div>
<a id="a4fb7975b7a29b389fefe0ff63d968d1f" name="a4fb7975b7a29b389fefe0ff63d968d1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fb7975b7a29b389fefe0ff63d968d1f">&#9670;&#160;</a></span>static let DEFAULT_PORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let DEFAULT_PORT : UInt16 = 21</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>默认的FTP控制端口号 </p>

</div>
</div>
<a id="a60092fe2171b336d2288bfb12b709966" name="a60092fe2171b336d2288bfb12b709966"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60092fe2171b336d2288bfb12b709966">&#9670;&#160;</a></span>static let EBCDIC_FILE_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let EBCDIC_FILE_TYPE = 1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文件类型常量：EBCDIC文件 </p>

</div>
</div>
<a id="a6e6fae5aad03d537c89b5a056396a139" name="a6e6fae5aad03d537c89b5a056396a139"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e6fae5aad03d537c89b5a056396a139">&#9670;&#160;</a></span>static let FILE_STRUCTURE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let FILE_STRUCTURE = 7</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文件结构常量：字节序列文件 </p>

</div>
</div>
<a id="a31fdb93a8a609c54e77a8db5bc708181" name="a31fdb93a8a609c54e77a8db5bc708181"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31fdb93a8a609c54e77a8db5bc708181">&#9670;&#160;</a></span>static let LOCAL_FILE_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let LOCAL_FILE_TYPE = 3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文件类型常量：本地类型文件 </p>

</div>
</div>
<a id="a81ea808631c04c6e39cab06022d4b377" name="a81ea808631c04c6e39cab06022d4b377"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81ea808631c04c6e39cab06022d4b377">&#9670;&#160;</a></span>static let modes</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let modes = &quot;AEILNTCFRPSBC&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>文件类型的字符表示的集合 </p>

</div>
</div>
<a id="acefd3645614c5d7f6a091ef8d53c8feb" name="acefd3645614c5d7f6a091ef8d53c8feb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acefd3645614c5d7f6a091ef8d53c8feb">&#9670;&#160;</a></span>static let NON_PRINT_TEXT_FORMAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let NON_PRINT_TEXT_FORMAT = 4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文本格式常量：非打印文本格式 </p>

</div>
</div>
<a id="a0d1b17206762d1f23392c33220aad968" name="a0d1b17206762d1f23392c33220aad968"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d1b17206762d1f23392c33220aad968">&#9670;&#160;</a></span>static let PAGE_STRUCTURE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let PAGE_STRUCTURE = 9</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文件结构常量：独立索引页面集合文件 </p>

</div>
</div>
<a id="a50efa6392407ebf577217b361ab3fc68" name="a50efa6392407ebf577217b361ab3fc68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50efa6392407ebf577217b361ab3fc68">&#9670;&#160;</a></span>static let RECORD_STRUCTURE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let RECORD_STRUCTURE = 8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文件结构常量：记录序列文件 </p>

</div>
</div>
<a id="ac37d861d8094c8511f8f3c879448e0e0" name="ac37d861d8094c8511f8f3c879448e0e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac37d861d8094c8511f8f3c879448e0e0">&#9670;&#160;</a></span>static let REPLY_CODE_LEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let REPLY_CODE_LEN : Int64 = 3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FTP回复代码长度 </p>

</div>
</div>
<a id="ad0aab1aa542a2646f96c4dfde0422f86" name="ad0aab1aa542a2646f96c4dfde0422f86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0aab1aa542a2646f96c4dfde0422f86">&#9670;&#160;</a></span>static let STREAM_TRANSFER_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let STREAM_TRANSFER_MODE = 10</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>传输模式常量：字节流传输模式 </p>

</div>
</div>
<a id="a2a9c78942b35f69c5fd25654bd19c6d8" name="a2a9c78942b35f69c5fd25654bd19c6d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a9c78942b35f69c5fd25654bd19c6d8">&#9670;&#160;</a></span>static let TELNET_TEXT_FORMAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.static let TELNET_TEXT_FORMAT = 5</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>文本格式常量：Telnet文本格式 </p>

</div>
</div>
<a id="a6cc421650837cf3afb4ede5c9585bf36" name="a6cc421650837cf3afb4ede5c9585bf36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cc421650837cf3afb4ede5c9585bf36">&#9670;&#160;</a></span>var _controlInput_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.var _controlInput_ : ?StringReader&lt;StreamingSocket&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>用于从 FTP 控制连接中读取文本。 </p>
<p>此成员最初为 None ，在 <code><a class="el" href="">_connectAction_()</a></code> 中初始化，并在 <code><a class="el" href="">disconnect()</a></code> 中设置为 None 。 </p>

</div>
</div>
<a id="a9145488e33ca94ea5738fcbf67fe02ce" name="a9145488e33ca94ea5738fcbf67fe02ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9145488e33ca94ea5738fcbf67fe02ce">&#9670;&#160;</a></span>var _controlOutput_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.var _controlOutput_ : ?StringWriter&lt;StreamingSocket&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>用于将文本写入 FTP 控制连接中。 </p>
<p>此成员最初为 None ，在 <code><a class="el" href="">_connectAction_()</a></code> 中初始化，并在 <code><a class="el" href="">disconnect()</a></code> 中设置为 None 。 </p>

</div>
</div>
<a id="a6635f8f31eaed1f89ec37b036108bcf0" name="a6635f8f31eaed1f89ec37b036108bcf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6635f8f31eaed1f89ec37b036108bcf0">&#9670;&#160;</a></span>var _newReplyString</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.var _newReplyString : Bool</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果为 true ，表示有新的回复字符串。 </p>

</div>
</div>
<a id="aa6ecb4317dbae45a2d54be2faf578e36" name="aa6ecb4317dbae45a2d54be2faf578e36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6ecb4317dbae45a2d54be2faf578e36">&#9670;&#160;</a></span>var _replyCode</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.var _replyCode : Int64</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>FTP 响应码 </p>

</div>
</div>
<a id="a0dcf067bd1a833f44f9709060e90be52" name="a0dcf067bd1a833f44f9709060e90be52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0dcf067bd1a833f44f9709060e90be52">&#9670;&#160;</a></span>var _replyString</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.var _replyString : String</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>FTP 回复字符串 </p>

</div>
</div>
<a id="a1eca45e3301381d9913b992cb8c39c71" name="a1eca45e3301381d9913b992cb8c39c71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1eca45e3301381d9913b992cb8c39c71">&#9670;&#160;</a></span>var _strictMultilineParsing</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.var _strictMultilineParsing : Bool = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果为 true ，则以数字代码xxx开头的多行响应块必须由相同的数字代码xxx终止。 </p>

</div>
</div>
<a id="ac0f7808e7710a0e7c6c6bb3be400e713" name="ac0f7808e7710a0e7c6c6bb3be400e713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0f7808e7710a0e7c6c6bb3be400e713">&#9670;&#160;</a></span>var _strictReplyParsing</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTP.var _strictReplyParsing : Bool = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果为 true ，则非多行回复必须具有以下格式：3位数字代码&lt;空格&gt;&lt;文本&gt;。如果为 false ，则3位数代码后面不需要跟空格。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/ftp/<a class="el" href="ftp_8cj.html">ftp.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1ftp.html">ftp</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1ftp_1_1FTP.html">FTP</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
